

package com.hazelcast.client;

import com.hazelcast.core.HazelcastException;

/**
 * A {@link HazelcastException} that is thrown when the client can not use a cluster. Examples:
 * <ul>
 * <li>Cluster blacklisted the client</li>
 * <li>Cluster partition counts are different between alternative clusters</li>
 * <li>Cluster version is not supported with configured client</li>
 * </ul>
 */
public class ClientNotAllowedInClusterException extends HazelcastException {

    /**
     * Creates a ClientNotAllowedInClusterException with the given message.
     *
     * @param message the message.
     */
    public ClientNotAllowedInClusterException(String message) {
        super(message);
    }
}
